
package com.jf.cloud.api.feign;

import com.jf.cloud.api.vo.EsPageVO;
import com.jf.cloud.common.feign.FeignInsideAuthConfig;
import com.jf.cloud.common.order.dto.OrderRefundSearchDTO;
import com.jf.cloud.common.order.vo.EsOrderRefundVO;
import com.jf.cloud.common.response.ServerResponseEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 退款订单搜索
 * @author zz
 * @date 2022/08/24
 */
@FeignClient(value = "jfcloud-search",contextId = "searchOrderRefund")
public interface SearchOrderRefundFeignClient {

    /**
     * 分页获取退款订单信息
     * @param orderRefundSearchDTO
     * @return
     */
    @PostMapping(value = FeignInsideAuthConfig.FEIGN_URL_PREFIX + "/insider/searchOrder/pageOrderRefund")
    ServerResponseEntity<EsPageVO<EsOrderRefundVO>> pageOrderRefund(@RequestBody OrderRefundSearchDTO orderRefundSearchDTO);
}
